Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

read ids and save ids for enchantments #38262

Merged
merged 1 commit into from
Mar 11, 2020

Conversation

KorGgenT
Copy link
Member

Summary

SUMMARY: Infrastructure "read ids and save ids for enchantments"

Purpose of change

this allows enchantments to be read and written by id from disc. this means you can define a passive relic effect by an enchantment you define elsewhere, so you can reuse the effect and the extra data doesn't have to be written. additionally if the enchantment is altered later it updates the altered data. this still does not update for randomly assigned enchantments.

Describe the solution

get the enchantment object by id when loading the relic.

Testing

added AEP_ALL_UP to a drive belt and checked save/load.

@KorGgenT KorGgenT added [C++] Changes (can be) made in C++. Previously named `Code` Artifacts Otherworldly items with special effects labels Feb 23, 2020
@ZhilkinSerg ZhilkinSerg changed the base branch from master to dev March 11, 2020 06:52
@ZhilkinSerg ZhilkinSerg merged commit 40fd0f3 into CleverRaven:dev Mar 11, 2020
@ZhilkinSerg ZhilkinSerg mentioned this pull request Mar 11, 2020
13 tasks
@KorGgenT KorGgenT deleted the artifact-read-ids branch August 13, 2020 04:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Artifacts Otherworldly items with special effects [C++] Changes (can be) made in C++. Previously named `Code`
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants